diff --git a/templates/user/stats.tmpl b/templates/user/stats.tmpl index b7f3322..918908b 100644 --- a/templates/user/stats.tmpl +++ b/templates/user/stats.tmpl @@ -1,65 +1,66 @@ {{define "stats"}} {{template "header" .}}
Stats for all time.
{{if or .Federation .EmailEnabled}}Fediverse Followers | {{end}} {{if .EmailEnabled}}Email Subscribers | {{end}}
---|---|
{{.APFollowers}} | {{end}} {{if .EmailEnabled}}{{.EmailSubscribers}} | {{end}}
Post | {{if not .Collection}}Blog | {{end}}Total Views |
---|---|---|
{{if ne .DisplayTitle ""}}{{.DisplayTitle}}{{else}}{{.ID}}{{end}} | {{ if not $.Collection }}{{if .Collection}}{{.Collection.Title}}{{else}}Draft{{end}} | {{ end }}{{.ViewCount}} |